Zum Hauptinhalt springen
Version: 5.0

TimePunch Mailing Service

Dieser Service enthält Methode um Mails innerhalb von TimePunch zu versenden.

SendMail

Diese Methode versendet eine Mail innerhalb von TimePunch. Der Sender der Email ist immer der autorisierte Mitarbeiter.

void SendMail(

out TpFault fault,

TpAuthentication authentication,

string subject,

string body,

IEnumerable<UserMailAddressDto> userMailAddresses,

IEnumerable<PlainMailAddressDto> plainMailAddresses);
Needed Permissionmails@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
subjectMail subject
bodyMail body
userMailAddressesList containing all TimePunch users that are Receiver or Copy Receiver of the mail.
plainMailAddressesList containing all non – TimePunch users that are Receiver or Copy Receiver of the mail.

SendMailWithAttachements

Diese Methode versendet eine Mail innerhalb von TimePunch mit entsprechenden Attachments. Der Sender der Email ist immer der autorisierte Mitarbeiter.

void SendMailWithAttachements(

out TpFault fault,

TpAuthentication authentication,

string subject,

string body,

IEnumerable<UserMailAddressDto> userMailAddresses,

IEnumerable<PlainMailAddressDto> plainMailAddresses,

IEnumerable<MailAttachementDto> mailAttachements);
Needed Permissionmails@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
subjectMail subject
bodyMail body
userMailAddressesList containing all TimePunch users that are Receiver or Copy Receiver of the mail.
plainMailAddressesList containing all non – TimePunch users that are Receiver or Copy Receiver of the mail.
mailAttachementsList containing all attachements for the mail.